const menuList1 = [{
  name: '系统管理',
  code: 'system_manage',
  children: [
    {
      name: '用户管理',
      code: 'user_manage',
      children: [{
        name: '添加用户',
        code: 'add_user'
      }, {
        name: '编辑用户',
        code: 'edit_user'
      }, {
        name: '删除用户',
        code: 'del_user'
      }]
    },
    {
      name: '角色管理',
      code: 'role_manage',
      children: [{
        name: '添加角色',
        code: 'add_role'
      }]
    }]
},
{
  name: '业务管理',
  code: 'bus_manage',
  children: [{
    name: '流程管理',
    code: 'process_manage'
  }]
},
{
  name: '订单管理',
  code: 'order_manage'
}]


const menuList2 = [{
  name: '系统管理2',
  code: 'system_manage',
  children: [
    {
      name: '用户管理2',
      code: 'user_manage',
      children: [{
        name: '添加用户2',
        code: 'add_user'
      }, {
        name: '编辑用户',
        code: 'edit_user'
      }, {
        name: '删除用户',
        code: 'del_user'
      }]
    },
    {
      name: '角色管理',
      code: 'role_manage',
      children: [{
        name: '添加角色',
        code: 'add_role'
      }]
    }]
},
{
  name: '业务管理',
  code: 'bus_manage',
  children: [{
    name: '流程管理',
    code: 'process_manage'
  }]
},
{
  name: '订单管理3',
  code: 'order_manage'
}]


const { diff } = require('deep-diff');

const differences = diff(menuList1, menuList2);

console.log(differences);